const template = (`
	<div>
		<h3 :style="{color:cl}">{{title}}</h3>
		<p v-for="item in bookList" :key="item.id">
			<a :href="'https://www.17k.com/book/'+item.id+'.html'" target="_blank">{{item.title}}</a>
		</p>
		<hr/>
	</div>

`)
export default {
	props: {
		cl: String,
		title: {
			type: String,
			required: true
		},
		bookList: Array

	},
	template
}